package com.stevenmoon.csdnplus.activity;

import android.app.Activity;
import android.content.Intent;
import android.widget.FrameLayout;

import com.stevenmoon.csdnplus.R;
import com.stevenmoon.csdnplus.activity.base.BaseActivity;
import com.stevenmoon.csdnplus.fragment.LoginFragment;

import butterknife.Bind;

public class LoginActivity extends BaseActivity{

    public static void goToLogin(Activity context){
        Intent intent = new Intent(context,LoginActivity.class);
        context.startActivity(intent);


    }

    @Bind(R.id.container)
    FrameLayout mContainer;

    @Override
    protected void initViews() {
        getSupportFragmentManager().beginTransaction().replace(R.id.container,
                LoginFragment.newInstance()).commit();
    }



    @Override
    protected int getContentViewId() {
        return R.layout.activity_splash;
    }

}
